Improved variational inference with inverse autoregressive flow